package com.sfac.springboot.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author jzq
 * @date 2022/8/16 15:08
 */
@SuppressWarnings({"all"})
@Component
@PropertySource(value = "classpath:config/applicationTest.properties")
@Data
public class ApplicationTest {

    @Value("${org.sfac.name}")
    private String name;

    @Value("${org.sfac.age}")
    private int age;

    @Value("${org.sfac.desc}")
    private String desc;

    @Value("${org.sfac.random}")
    private String random;

}
